package chapter15.chapter15_4;

import chapter11.EX27.Test;
import chapter15.chapter15_3.Fibonacci;

/**
 * Created by Caesar on 2016/3/6.
 */
public class Test9 {
    public <T, U, V> void f(T x, U y, V z) {
        System.out.println("x:" + x.getClass().getName() + "  y:" + y.getClass().getName() + "  z:" + z.getClass().getName());
    }

    public static void main(String[] args) {
        Test9 gm = new Test9();
        gm.f("", 1, 1L);
        gm.f(1, 0.1, 0.3F);
        gm.f(1.0, 'c', "123");
        gm.f(gm, Test9.class, new Fibonacci());
    }
}
